#define _CRT_SECURE_NO_WARNINGS 1
#include "Heap.h"
int main()
{
	Heap hp;
	HeapInit(&hp);
	HeapPush(&hp, 1);
	HeapPush(&hp, 11);
	HeapPush(&hp, 10);
	HeapPush(&hp, 12);
	HeapPush(&hp, 17);
	HeapPush(&hp, 18);
	while (!HeapEmpty(&hp))
	{
		printf("%d ", HeapTop(&hp));
		HeapPop(&hp);
	}
	printf("\n");
	return 0;
}